package model;

public enum CombinationCompareResult
{
	LOSS(0), TIE(1), WIN(2);
	
	private final int index;
	
	private CombinationCompareResult(int index)
	{
		this.index = index;
	}
	
	public int toInteger()
	{
		return index;
	}
	
	public String toString()
	{
		switch (this)
		{
			case LOSS:
				
				return "Loss";
			
			case TIE:
				
				return "Tie";
			
			case WIN:
				
				return "Win";
		}
		
		return null;
	}
}
